package cn.tsmchina.one.service.config;

import cn.tsmchina.one.domain.config.Config;


/** 
 * 
 * @author locoroco.rao
 * @date   2013-10-29
 * Copyright: Copyright (c) 2013 TSM,Inc
 */

public interface ConfigService {
	
	/**
	 * 获取配置
	 */
	Config getConfig(long customerId, String configKey);
	
	/**
	 * 更新配置
	 */
	int updateConfig(int configId, String value);
	
	/**
	 * 增加配置
	 */
	int addConfig(long customerId, String value, String configKey);
}
